DeleteCaseModel (Deprecated) |
DeleteCaseModel is used to delete a deployed case model. This Web Service operation is part of the Method Set Case Model Administration 4.2 Web Service Interface whose namespace is http://schemas.cordys.com/casemanagement/modeladministration/1.0
![]() |
Note: The use of this method is deprecated. Case models must be deleted only by deploying or undeploying the related application packages. Therefore, applications built on Process Platform must not directly consider to update the deployed content. If applications update the deployed content directly, it will result in issues when the related packages are upgraded or uninstalled. |
Note:
- This API will delete only the case model but not the case instances.
- Only case models which are in Active state are allowed to be deleted.
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <DeleteCaseModel xmlns="http://schemas.cordys.com/casemanagement/modeladministration/1.0"> <model name="HospitalManagment/case/HealthCheck" space="organization"> <auditcomment>Audit Trail Comments</auditcomment> </model> </DeleteCaseModel> </SOAP:Body> </SOAP:Envelope>
Request Parameters
Parameter |
Required |
Description |
Data Type |
Accepted Input Values |
---|---|---|---|---|
name |
Required |
Refers to the fully qualified name of the case model which is to be deleted. |
String |
|
space |
Optional |
Refers to the space in which the case model is deployed. If this parameter is empty, the search takes place in the organization space followed by the isv space |
String |
organization/isv |
auditcomment |
Optional |
Refers to the optional comments that are provided for the deletion. |
String |
SOAP Response
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <DeleteCaseModelResponse xmlns="http://schemas.cordys.com/casemanagement/modeladministration/1.0"> <model name="HospitalManagment/case/HealthCheck" space="organization" status="DELETED"/> </DeleteCaseModelResponse> </SOAP:Body> </SOAP:Envelope>
Response Parameters
Parameter |
Description |
---|---|
name | Refers to the fully qualified name of the case model which is deleted. |
status |
The status of the deleted case model will be set as DELETED. |